<template>
  <div>
    <el-button type="primary" @click="testAny">abc</el-button>
    <el-tag>abc</el-tag>
  </div>
</template>

<script>
// import New from './components/New.vue';
export default {
  name: "Test",
  components: {
    // New,Old,
  },
  props: {
    sampleP: {
      type: Number,
      default: 0,
    },
  },
  data() {
    return {
      sampleD: "value",
    };
  },
  computed: {
    // sampleC() {
    //     return this.sampleD+'--';
    // }
  },
  created() {},
  mounted() {},
  methods: {
    sampleM() {},
    testAny(){
      this.$http({
              method: "get",
              url: "http://10.204.213.114:9999/index",
            }).then(
              (res) => {
                console.log(res.data)
                // this.$message.warning(JSON.stringify(res.data));
              },
              (error) => {
                console.log(" request error : "+error.response.status);
              }
            );
    }
  },
  watch: {
    // sampleC(newValue, oldValue) {
    //
    // }
  },
};
</script>

<!--<style scoped>-->
<style lang="scss" scoped></style>
